from UIAutoTest.unittest_login.ElementHandle import ElementHandle


# 业务层
class Service(ElementHandle):
    def __init__(self):
        ElementHandle.__init__(self)

    # 封装所有方法 集中传参  封装思想
    def sum(self, username, pwd, code):
        self.username_h(username)
        self.pwd_h(pwd)
        self.code_h(code)
        self.btn_h()
